﻿using System.Text.Json.Serialization;

namespace TuLing.Entities
{
    public class Product 
    {
        public long Id { get; set; }
        public long ProductCategoryId { get; set; }
        public string Code { get; set; }
        public string Name { get; set; }
        public string Unit { get; set; }
        public decimal Price { get; set; }
        public string? Remark { get; set; }

        [JsonIgnore]
        public virtual ProductCategory ProductCategory { get; set; }
    }
}